package com.mc.queue;

import java.util.Stack;

public class MainTest {
    public static void main(String[] args) {
        HSqQueue q = new HSqQueue();
        q.initQueue();
        q.enQueue(1);
        q.enQueue(2);
        q.enQueue(3);
        q.enQueue(4);
        q.enQueue(5);
        q.enQueue(6);
        q.enQueue(7);
        q.enQueue(8);
        q.enQueue(9);
//        q.enQueue(10);

        q.deQueue();

        System.out.println("队列是否为空:" + q.queueEmpty());
        System.out.println("当前队头元素:" + q.getHead());
        System.out.println("队列长度:" + q.queueLength());
    }
}
